// 

#include <iostream>
using namespace std;

void foo( ) {
	throw 3.14;	//-1;
}

void bar( ) throw( ) { // No error
	throw -1;
}

void hum( ) throw( int, double );

void hum( ) throw( int, double ) {

}

// designer
// ------------------------------------------------------------------
// user

int main( void ) {
	try { 
		bar( );
	}
	catch( int& e ) {
		cout << "1.err information : " << e <<endl;
	}
	catch( double& e ){
		cout << "2.err information : " << e << endl;
	}

	return 0;
}

